package com.yjh.gateway;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
//import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.scheduling.annotation.EnableAsync;


@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
//@SpringCloudApplication
@MapperScan(basePackages={"com.yjh.gateway.mapper"})
@EntityScan(basePackages={"com.yjh.gateway.entity"})
@EnableAsync
public class HdssGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(HdssGatewayApplication.class, args);
    }


}
